package com.ziiwee.reduce.rest.auto;

import org.springframework.http.HttpMethod;
import org.springframework.web.servlet.function.ServerRequest;
import org.springframework.web.servlet.function.ServerResponse;

import javax.servlet.ServletException;
import java.io.IOException;

/**
 * @author ziiwee
 * @date 2020/8/18
 */
public interface RestAutoHandleProvider {

    ServerResponse render(HttpMethod method, ResourceInfo info, ServerRequest request) throws ServletException, IOException;

}
